package com.itheima.homework01;

public class Test01 {
    public static void main(String[] args) {
        Student stu = new Student();
        try {
            stu.setAge(10);
        } catch (Exception e) {
            System.out.println("年龄错误");
        }
    }
}
